/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package bpmn;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Message</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link bpmn.Message#getName <em>Name</em>}</li>
 *   <li>{@link bpmn.Message#getProperties <em>Properties</em>}</li>
 *   <li>{@link bpmn.Message#getFromRef <em>From Ref</em>}</li>
 *   <li>{@link bpmn.Message#getToRef <em>To Ref</em>}</li>
 * </ul>
 * </p>
 *
 * @see bpmn.BpmnPackage#getMessage()
 * @model
 * @generated
 */
public interface Message extends SupportingElement {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see bpmn.BpmnPackage#getMessage_Name()
	 * @model required="true"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link bpmn.Message#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Properties</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Properties</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Properties</em>' reference.
	 * @see #setProperties(Property)
	 * @see bpmn.BpmnPackage#getMessage_Properties()
	 * @model
	 * @generated
	 */
	Property getProperties();

	/**
	 * Sets the value of the '{@link bpmn.Message#getProperties <em>Properties</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Properties</em>' reference.
	 * @see #getProperties()
	 * @generated
	 */
	void setProperties(Property value);

	/**
	 * Returns the value of the '<em><b>From Ref</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>From Ref</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>From Ref</em>' reference.
	 * @see #setFromRef(Participant)
	 * @see bpmn.BpmnPackage#getMessage_FromRef()
	 * @model required="true"
	 * @generated
	 */
	Participant getFromRef();

	/**
	 * Sets the value of the '{@link bpmn.Message#getFromRef <em>From Ref</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>From Ref</em>' reference.
	 * @see #getFromRef()
	 * @generated
	 */
	void setFromRef(Participant value);

	/**
	 * Returns the value of the '<em><b>To Ref</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>To Ref</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>To Ref</em>' reference.
	 * @see #setToRef(Participant)
	 * @see bpmn.BpmnPackage#getMessage_ToRef()
	 * @model required="true"
	 * @generated
	 */
	Participant getToRef();

	/**
	 * Sets the value of the '{@link bpmn.Message#getToRef <em>To Ref</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>To Ref</em>' reference.
	 * @see #getToRef()
	 * @generated
	 */
	void setToRef(Participant value);

} // Message
